﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExpertMIS.Brokers;
using System.Data;

namespace ExpertMIS.Admin.UserControl
{
    public partial class NewTopic : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BindrpNewTopic();
        }

        private void BindrpNewTopic()
        {
            TopicBroker tpbroker = new TopicBroker();
            DataSet ds = tpbroker.SelectNewTopic();
            gvNew.DataSource = ds.Tables[0];
            gvNew.DataBind();
        }
    }
}